package com.meeting.meeting.service;

import com.github.pagehelper.PageInfo;
import com.meeting.meeting.model.Admin;

import java.util.List;
import java.util.Map;

public interface AdminService {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    Admin selectByPrimaryKey(Integer id);

    List<Admin> selectAll();

    PageInfo<Map<String,Object>> selectAll(Integer pageNum, Integer pageSize, Admin record);

    int updateByPrimaryKey(Admin record);
}
